package teleradiologia.utils;

public class PatientWarnings {

	String peselWarning = "";
	String emailWarning = "";
	String dateOfBirthWarning = "";
	String emptyFieldWarning = "";
	String passwordWarning="";
	String sexWarning="";
	


	public PatientWarnings(String peselWarning, String emailWarning,
			String dateOfBirthWarning, String emptyFieldWarning,
			String passwordWarning, String sexWarning) {
		this.peselWarning = peselWarning;
		this.emailWarning = emailWarning;
		this.dateOfBirthWarning = dateOfBirthWarning;
		this.emptyFieldWarning = emptyFieldWarning;
		this.passwordWarning = passwordWarning;
		this.sexWarning = sexWarning;
	}

	public boolean isEmpty() {
		return (peselWarning == "" && emailWarning == ""
				&& dateOfBirthWarning == "" && emptyFieldWarning == "" 
					&& passwordWarning == "" && sexWarning == "");
	}

	public String getPeselWarning() {
		return peselWarning;
	}

	public void setPeselWarning(String peselWarning) {
		this.peselWarning = peselWarning;
	}

	public String getEmailWarning() {
		return emailWarning;
	}

	public void setEmailWarning(String emailWarning) {
		this.emailWarning = emailWarning;
	}

	public String getDateOfBirthWarning() {
		return dateOfBirthWarning;
	}

	public void setDateOfBirthWarning(String dateOfBirthWarning) {
		this.dateOfBirthWarning = dateOfBirthWarning;
	}

	public String getEmptyFieldWarning() {
		return emptyFieldWarning;
	}

	public void setEmptyFieldWarning(String emptyFieldWarning) {
		this.emptyFieldWarning = emptyFieldWarning;
	}

	public String getPasswordWarning() {
		return passwordWarning;
	}

	public void setPasswordWarning(String passwordWarning) {
		this.passwordWarning = passwordWarning;
	}

	public String getSexWarning() {
		return sexWarning;
	}

	public void setSexWarning(String sexWarning) {
		this.sexWarning = sexWarning;
	}
}
